using System;

namespace PMC
{
    public class HtmlDocumentHandler
    {
        public HtmlDocumentHandler()
        {
            Handler = DocumentHandler.Wait;
        }

        public HtmlDocumentHandler(DocumentHandler handler, Object argument0 = null, Object argument1 = null)
        {
            Handler = handler;
            Argument0 = argument0;
            Argument1 = argument1;
        }

        public static implicit operator Enum(HtmlDocumentHandler document)
        {
            return document.Handler;
        }

        public DocumentHandler Handler { get; set; }
        public Object Argument0 { get; set; }
        public Object Argument1 { get; set; }
    }
}